<?php include 'application/views/header.php' ?>
<?php include 'application/views/left.php' ?>

<!-- BOX NEWS -->
<div class="content-box customer-detail">
    <div class="title">
        <div class="label">Khách hàng</div>
        <div class="end-title"></div>
    </div>
    <!-- content -->
    <div class="detail-customer-content">
       <h4><?php echo $Customer['CustomerName'] ?></h4>
       <?php include 'application/views/customer/block/detail-info.php' ?>
       <?php include 'application/views/customer/block/detail-video.php' ?>
       <div class="clr">
            <?php echo $Customer['CustomerDetail'] ?>
       </div>
    </div>
</div>

<?php include 'application/views/right.php' ?>
<?php include 'application/views/footer.php' ?>

<script type="text/javascript">
$('.detail-customer-content .list-video a').click(function(){
    $('.detail-customer-content .list-video a li').each(function(){
        $(this).removeClass('active');
    });
    $('#mainVideo').html('<iframe width="400" height="300" src="' + $(this).attr('link') + '"  frameborder="0" allowfullscreen></iframe>');
    
    //set active
    $(this).find('li').addClass('active');
    return false; 
});
</script>